Skip to content

Conversation

pushpak1300
Copy link
Contributor

@pushpak1300 pushpak1300 commented Sep 20, 2025

The Logout test is flaky. This MR switches to using the data-test approach to click on the element, which works more reliably.

@pushpak1300 pushpak1300 marked this pull request as draft September 22, 2025 07:42
@joetannenbaum
Copy link
Collaborator

joetannenbaum commented Sep 24, 2025

@crynobone starter kit PRs have been merged, can you verify tests should now pass and merge if so?

@crynobone
Copy link
Collaborator

Looks good now.

@crynobone crynobone merged commit 3443c4e into laravel-labs:main Sep 24, 2025
6 of 12 checks passed
@pushpak1300 pushpak1300 deleted the fix/logout_test branch September 24, 2025 14:44
crynobone added a commit that referenced this pull request Sep 29, 2025
* Optimize CI workflows by adding caching for Composer and Playwright

* Update CI workflows to use actions/checkout@v5

* Fix the flaky logout test (#3)

* Fix the logout test to use XPath for username click

* Update tests/Browser/Auth/AuthenticationTest.php

* Use data-test attribute instead of xpath

---------

Co-authored-by: Mior Muhammad Zaki <[email protected]>

---------

Co-authored-by: Mior Muhammad Zaki <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants